using UnityEngine;
using System.Collections;

public class Commands : MonoBehaviour {
	private int coolDown;
	private bool autoAttack;

	// Use this for initialization
	void Start () {
	
		
	}
	
	// Update is called once per frame
	void Update () {
		coolDown = (int)GetComponent<PlayerAttack>().attacktimer;
		//autoAttack = (bool)GetComponent<PlayerAttack>().a
		
	}
	
	void OnGUI(){
		GUI.Label(new Rect(600,10,200,20), "The cube is the enemy!");
		GUI.Label(new Rect(600,40,200,20), "Auto attack: 1");
		GUI.Label(new Rect(600,60,200,20), "Melee attack: 2");
		GUI.Label(new Rect(600,80,200,20), "Melee cooldown: " + coolDown);
	}
}

	